#
# This is a project Makefile. It is assumed the directory this Makefile resides in is a
# project subdirectory.
#

PROJECT_NAME := eth2ap


EXTRA_COMPONENT_DIRS += $(IDF_PATH)/examples/common_components/protocol_examples_common \
						$(IDF_PATH)/examples/bluetooth/esp_ble_mesh/common_components/example_init

include $(IDF_PATH)/make/project.mk



VERSION_FILE += $(shell pwd)/version.txt
VERSION_CONFIG := $(shell cat $(VERSION_FILE))
$(info FW VERSION=$(VERSION_CONFIG))


CFLAGS += -D MY_VERSION=\""$(VERSION_CONFIG)"\"

# CONFIG_FIRMWARE_VERSION ?= 2.0.0
# CONFIG_SYSINFO_APP_VERSION = ${CONFIG_FIRMWARE_VERSION}

# CFLAGS += -D MY_VERSION=\"$(CONFIG_SYSINFO_APP_VERSION)\"

# $(info FW VERSION=$(MY_VERSION))